package model;

import java.util.LinkedList;

import model.definition.DefinitionTexasHoldem;

public class Room implements DefinitionTexasHoldem {
	
	private LinkedList<Table> listeTables = new LinkedList<Table>();

	public LinkedList<Table> getListeTables() {
		return listeTables;
	}

	public void setListeTables(LinkedList<Table> listeTables) {
		this.listeTables = listeTables;
	}
	
	public Table creationTable(String nom) {
		Table newTable = new Table(nom,CASH_GAME);
		listeTables.add(newTable);
		
		return newTable;
	}

}
